package com.zifuchuan.zuoye;
/*
3. "javase  javaee hellojava javanihao  javawohao  javadajiahao haomajava"
将所有以java开始的单词替换成itheima
"itheimase  itheimaee hellojava itheimanihao  itheimawohao  itheimadajiahao haomajava"
 */
public class HomeWork11 {
    public static void main(String[] args) {
        String s = "javase  javaee hellojava javanihao  javawohao  javadajiahao haomajava";
        boolean retvall=s.startsWith("java");
        String s1 = s.replace("java","itheima");
        System.out.println(s1);

    }

}
